package com.cast.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cast.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SetmealMapper extends BaseMapper<Setmeal> {


    //添加套餐与检查组之间的中间表信息
    @Insert("insert into t_setmeal_checkgroup(setmeal_id,checkgroup_id) values (#{setmealId},#{checkGroupId})")
    void setSetmealAndCheckGroup(@Param("setmealId") Integer id, @Param("checkGroupId") Integer checkgroupIds);



}
